package com.qf.entity;

import lombok.Data;

@Data  //用户实体类
public class User {

    private int u_id; //用户u_id
    private String u_name; //用户名u_name
    private String u_pwd;//用户密码u_password
    private String u_phone;//手机号u_phone
    private String u_address;//用户地址
    private int u_status;//用户状态
    private String u_image;//用户头像
    private int u_integral;//用户积分
    private int u_coupon;//优惠券个数
    private String u_code; //验证码

    public User(int u_id, String u_name, String u_pwd, String u_phone, String u_address, int u_status, String u_image, int u_integral, int u_coupon) {
        this.u_id = u_id;
        this.u_name = u_name;
        this.u_pwd = u_pwd;
        this.u_phone = u_phone;
        this.u_address = u_address;
        this.u_status = u_status;
        this.u_image = u_image;
        this.u_integral = u_integral;
        this.u_coupon = u_coupon;
    }
}
